package com.jxc.entity;

/**
 * Stock entity. @author MyEclipse Persistence Tools
 */

public class Stock implements java.io.Serializable {

	// Fields

	private Integer id;
	private Commodity commodity;
	private Integer quantity;
	private Integer availablequantity;
	private Integer library;
	private Integer frame;
	private Integer layer;
	private Integer bit;

	// Constructors

	/** default constructor */
	public Stock() {
	}

	/** full constructor */
	public Stock(Commodity commodity, Integer quantity,
			Integer availablequantity, Integer library, Integer frame,
			Integer layer, Integer bit) {
		this.commodity = commodity;
		this.quantity = quantity;
		this.availablequantity = availablequantity;
		this.library = library;
		this.frame = frame;
		this.layer = layer;
		this.bit = bit;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Commodity getCommodity() {
		return this.commodity;
	}

	public void setCommodity(Commodity commodity) {
		this.commodity = commodity;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getAvailablequantity() {
		return this.availablequantity;
	}

	public void setAvailablequantity(Integer availablequantity) {
		this.availablequantity = availablequantity;
	}

	public Integer getLibrary() {
		return this.library;
	}

	public void setLibrary(Integer library) {
		this.library = library;
	}

	public Integer getFrame() {
		return this.frame;
	}

	public void setFrame(Integer frame) {
		this.frame = frame;
	}

	public Integer getLayer() {
		return this.layer;
	}

	public void setLayer(Integer layer) {
		this.layer = layer;
	}

	public Integer getBit() {
		return this.bit;
	}

	public void setBit(Integer bit) {
		this.bit = bit;
	}

}